package com.bzsg.rightsManagementSystem.util.result

enum class ResultEnum(val code: Int, val msg: String) {
    UNKNOWN_ERROR(-1, "未知错误"),
    SUCCESS(200, "成功"),
    USER_NOT_EXIST(400, "用户不存在"),
    USER_IS_EXISTS(401, "用户已存在"),
    USER_NO_LOGIN(402,"用户未登录"),
    USER_NO_PERMISSION(403,"用户无权限"),
    ACCOUNT_EXPIRED(404,"账号过期"),
    PASSWORD_ERROR(405,"密码错误"),
    CREDENTIALS_EXPIRED(406,"会话过期"),
    DISABLED(407,"账号禁用"),
    ACCOUNT_LOCKED(408,"账号锁定"),
    DATA_IS_NULL(4, "数据为空")
}